package com.api.user.service;
import com.api.core.config.AuthUser;
import com.api.user.model.Task;
import com.api.core.service.Service;
import com.api.core.response.Result;

/**
 * Created by wanghuiwen on 2021/04/23.
 */
public interface TaskService extends Service<Task> {
   Result list(AuthUser authUser);

   /**
    *
    * @param serial 任务编号
    */
   void completeTask(String serial, Long userId,Integer complete);

   Result receive(Long userTaskId, Long userId);
}
